﻿namespace Gp.Scripts.Character {
    public interface IFov {
        float FieldOfViewAngle { get; }
        float Aspect { get; }
        float FarDistance { get; }
        
        float HorizontalAngle => FieldOfViewAngle * Aspect;
        float HalfVerticalAngle => FieldOfViewAngle / 2.0f;
        float HalfHorizontalAngle => HorizontalAngle / 2.0f;
    }
}